﻿
using HCApp.Core.Common.ViewModels;
using LinnerToolkit.Core.Commands;
using LinnerToolkit.Core.Navigation;
using LinnerToolkit.Core.Services;
using System.Windows.Input;
namespace MainAppEntryPrismWpf.ViewModels
{
    public class RuKuManagePageViewModel : ViewModelBase
    {
        public ICommand ExitCommand { get; }
        public RuKuManagePageViewModel(IAppNavigationService navigationService, IDialogService dialogService) : base(navigationService)
        {
            ExitCommand = new LockDelegateCommand(async () =>
            {

                
                await NavigationService.NavigateAsync("Page1");

            });
        }

        public override void OnNavigatedFrom(AppNavigationParameters parameters)
        {
            base.OnNavigatedFrom(parameters);
           // Utilities.Global.ComShaker.DataReceived += ComShaker_DataReceived;
        }

       
    }
}
